﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TranTekBE
{
    public partial class SiteRequireLogin : BaseMasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           // Session["url_click"] = Request.FilePath;
            //  if(Session["Login"] == null || Convert.ToBoolean(Session["Login"]) != true)
           //     Response.Redirect("../Default.aspx");
            yearnow.Text = DateTime.Today.ToString("yyyy");
        }

       

        protected void LogoutImg(object sender, ImageClickEventArgs e)
        {
            this.ClearLoginInfo();
            Response.Redirect("../Home.aspx", true);
        }
    }
}
